package com.api.day01stringdemo1;


/*
string replaceall（）
替换正则表达式范围里的字符
 */
public class ReplaceAllDemo {
    public static void main(String[] args) {
        String s = "zero123";
        String s1 = s.replaceAll(" [0-9]+","****");
        System.out.println(s1);

    }
}
